package com.javatest.springbootsecurity;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 1.引入SpringSecurity
 * 2.编写SpringSecurity配置类extends WebSecurityConfigurerAdapter
 * 同时在上面加上@EnableWebSecurity注解
 * 3.控制请求的访问权限
 */
@SpringBootApplication
public class SpringbootSecurityApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootSecurityApplication.class, args);
    }

}
